import request from "./request"

export const registerApi= (obj)=>{
    return request({
        method:'post',
        url:'/user/register',
        data:obj
    })
}


export const loginApi=(obj)=>{
   return  request({
       method:'post',
       url:'/user/login',
       data:obj
   })
}